home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’92 / DylanTalk / SILIE Source / Sample.make < prev    next >
Encoding:
Text File  |  1992-06-18  |  2.1 KB  |  68 lines  |  [TEXT/MPS ]

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    MultiFinder-Aware Simple Sample Application
  5. #
  6. #    Sample
  7. #
  8. #    [C]Sample.make    -    Make Source
  9. #
  10. #    Copyright © Apple Computer, Inc. 1989-1990
  11. #    All rights reserved.
  12. #
  13. #    Versions:    
  14. #                1.00                08/88
  15. #                1.01                11/88
  16. #                1.02                04/89    MPW 3.1
  17. #                1.03                02/90    MPW 3.2
  18. #
  19. #    Components:
  20. #                Sample.p            Feb.  1, 1990
  21. #                Sample.c            Feb.  1, 1990
  22. #                Sample.a            Feb.  1, 1990
  23. #                Sample.inc1.a        Feb.  1, 1990
  24. #                SampleMisc.a        Feb.  1, 1990
  25. #                Sample.r            Feb.  1, 1990
  26. #                Sample.h            Feb.  1, 1990
  27. #                [P]Sample.make        Feb.  1, 1990
  28. #                [C]Sample.make        Feb.  1, 1990
  29. #                [A]Sample.make        Feb.  1, 1990
  30. #
  31. #    Sample is an example application that demonstrates how to
  32. #    initialize the commonly used toolbox managers, operate 
  33. #    successfully under MultiFinder, handle desk accessories, 
  34. #    and create, grow, and zoom windows.
  35. #
  36. #    It does not by any means demonstrate all the techniques 
  37. #    you need for a large application. In particular, Sample 
  38. #    does not cover exception handling, multiple windows/documents, 
  39. #    sophisticated memory management, printing, or undo. All of 
  40. #    these are vital parts of a normal full-sized application.
  41. #
  42. #    This application is an example of the form of a Macintosh 
  43. #    application; it is NOT a template. It is NOT intended to be 
  44. #    used as a foundation for the next world-class, best-selling, 
  45. #    600K application. A stick figure drawing of the human body may 
  46. #    be a good example of the form for a painting, but that does not 
  47. #    mean it should be used as the basis for the next Mona Lisa.
  48. #
  49. #    We recommend that you review this program or TESample before 
  50. #    beginning a new application.
  51. #
  52. #     You can define {SymOptions} as "-sym on" or "-sym off" for use with SADE
  53. #     We also recommend requiring prototypes for all functions
  54. COptions = -r {SymOptions} -w
  55.                             
  56. CObjs        = Sample.c.o ∂
  57.         "{Libraries}"Runtime.o ∂
  58.         "{Libraries}"Interface.o
  59.  
  60. Sample        ƒƒ {CObjs} Sample.make
  61.         Link -o {Targ} {CObjs} {SymOptions}
  62.         SetFile {Targ} -t APPL -c 'MOOS' -a B
  63.  
  64. Sample        ƒƒ Sample.r Sample.h Sample.make
  65.         Rez -rd -o {Targ} Sample.r -append
  66.  
  67. Sample.c.o    ƒƒ Sample.make
  68.